Keysight Pathwave 89600 VSA .NET API
C# Digital Demodulation Demo
Send Feedback
Example Programs > C# Digital Demodulation Demo

Glossary Item Box

C# Digital Demodulation Demonstration

This program illustrates several processes including:

The project files, which can be opened by Microsoft Visual Studio 2010 or newer can be found in the following directory:

%PROGRAMFILES%\Keysight\89600 Software 20xx\89600 VSA Software\Examples\DotNET\C#\DigitalDemodDemo

where 20xx is the version number of the 89600 VSA.

You will need to copy the contents of the Examples directory to your Documents directory or some other location that is writable before compiling and running the example programs since the contents of the VSA installation directory are read-only. The examples depend on API interfaces under the Interfaces directory of your VSA software installation, so you may also need to repair references to these interfaces before the example will run.

Measurement Extensions

In the example, two statements are responsible for changing to a digital demodulation type measurement and getting the measurement extension:

  • measurement.SetMeasurementExtension(DigitalDemod.MeasurementExtension.ExtensionType());
  • DigitalDemod.MeasurementExtension extension = measurement.GetMeasurementExtension();

The first line sets the measurement extension type for the measurement. This changes the measurement to a digital demodulation measurement. The second line retrieves the measurement extension object for the measurement and casts it to the appropriate type for a digital demodulation measurement. There are similar measurement extensions available for other measurement types. The measurement extension objects provide capabilities beyond that of measurement objects alone. After the signal recording has been loaded, the example demonstrates the use of the measurement extension object.

Measurement Data Objects

The data presented on a trace is sufficient for most purposes but there are cases where it is useful to have additional measurement data. Measurement data objects store the raw measurement data which may contain useful information beyond what is plotted on a trace. This data can be accessed using the measurement data object’s state table. The example illustrates how to retrieve this state table and look up elements from it using the appropriate indices.